package com.neu.his.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neu.his.entity.Doctor;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DoctorMapper extends BaseMapper<Doctor> {
    //获取id-Doctor的user信息，id=-1获取所有
    public List<Doctor> getDoctorUser(Long id);

    //获取id-Doctor的duty信息，id=-1获取所有
    public List<Doctor> getDoctorDuty(Long id);
}
